package com.springboot.demo.old;

import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/*
 *DATE:2025/7/8
 */
@Component
public class Driver {
    @Resource(name = "car")
    private Carln carln;
    public void drive()
    {
        carln.run();
    }

//    public static void main(String[] args) {
//        new Driver().drive();
//    }
}
